<?PHP
  class Scheduler{

    public static function runTasks(){
      foreach(Task::getOverdued() as $task){
        $task->execute();
      }
    }

  }
?>